package com.jelly.config;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;

@Component
public class CustomIdGenerator implements IdentifierGenerator {

	@Override
	public Number nextId(Object entity) {
		
		return IdGenerator.generateId();
	}

}
